package com.tjetc.dao;

import com.tjetc.domain.Player;
import com.tjetc.utils.Db;
import org.apache.commons.dbutils.QueryRunner;
import org.apache.commons.dbutils.handlers.BeanListHandler;

import java.sql.SQLException;
import java.util.List;

public class FeedbacDao {
    QueryRunner runner=new QueryRunner();

    public void add(int playerId, int fanId, String description) throws SQLException {

        Db.runner.update("insert into feedback(player_id,fan_id,description) values(?,?,?)",playerId,fanId,description);

    }
}
